﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameStudio.IDE.Common
{
    public static class Session
    {
        public static Project CurrentProject { get; set; }
        public static List<Item> CurrentItems { get; set; }

        static Session()
        {
            CurrentProject = new Project();
            CurrentItems = new List<Item>();
            
        }

        public static void AddFile(Item CurrentFile)
        {
            CurrentProject.Items.Add(CurrentFile);
        }



        public static void AddItem(Item newItem)
        {
            CurrentItems.Add(newItem);
        }

        public static void DeleteItem(Item item)
        {
            CurrentItems.Remove(item);
        }
    }
}
